home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls008.1.Z / tls008.1 / usr / lib / custom / demo.rmv
Encoding:
Text File  |  1991-04-06  |  1.0 KB  |  60 lines

  1. :
  2. #
  3. #    init.demo - Corollary Multiprocessor Demo Software
  4. #               custom installation script
  5. #
  6. #    Copyright (C) Corollary, Inc., 1986, 1987, 1988, 1989, 1990, 1991.
  7. #    All Rights Reserved.
  8. #    This Module contains Proprietary Information of
  9. #    Corollary, Inc., and should be treated as Confidential.
  10. #
  11.  
  12. PRODUCT="Corollary Multiprocessor Demo"
  13.  
  14. #
  15. # Set up environment.
  16. #
  17. II_SYSTEM=/usr
  18. export II_SYSTEM
  19. PATH=$PATH:$II_SYSTEM/bin/X11:
  20. export PATH
  21.  
  22. while true
  23. do
  24.     cat << EOF
  25.  
  26. Removing the $PRODUCT system.
  27.  
  28. Select an option for $PRODUCT removal:
  29.  
  30.     1. Remove xmpstat.
  31.  
  32.     2. Remove User demo.
  33.  
  34. EOF
  35.     echo "Enter choice (default is 1): \c"
  36.     read line
  37.     case $line in
  38.         "1"|"")
  39.             rm -fr /usr/bin/X11/xmpstat
  40.             rm -fr /usr/bin/X11/xmpstat.uid
  41.             rm -fr /usr/bin/X11/xmpstat.man
  42.             break
  43.             ;;
  44.         "2")
  45.             rm -fr /usr/bin/X11/userdemo
  46.             rm -fr /usr/bin/X11/userdemo.uid
  47.             rm -fr /usr/bin/X11/User
  48.             rm -fr /usr/bin/X11/User10
  49.             rm -fr /usr/bin/X11/icon.up
  50.             rm -fr /usr/bin/X11/icon.xbm
  51.             break
  52.             ;;
  53.         *)
  54.             echo invalid selection: please try again
  55.             ;;
  56.     esac
  57. done
  58.  
  59. exit 0
  60.